﻿using KNet.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CNKI.TPI.Web.Search.Model
{
    public class SYS_CMS_DATABASE_CLS_NODE : BaseModel, ITable
    {
        public SYS_CMS_DATABASE_CLS_NODE()
        {
            DatabaseList = new List<SYS_CMS_DATABASE>();
        }
        public int SysID { set; get; }
        public int ClsID { set; get; }
        public string Name { set; get; }
        public string Code { set; get; }
        public int Grade { set; get; }
        public int ChildFlag { set; get; }
        public string SysCode { set; get; }
        public int SortNumber { set; get; }
        public IList<SYS_CMS_DATABASE> DatabaseList { set; get; }

        public override object Clone()
        {
            SYS_CMS_DATABASE_CLS_NODE entity = (SYS_CMS_DATABASE_CLS_NODE)this.MemberwiseClone();
            entity.DatabaseList = new List<SYS_CMS_DATABASE>();
            return entity; //浅复制
        }
    }
}
